//
// Created by 1065246 on 2023/4/13.
//

#ifndef BASE_STUDENT_H
#define BASE_STUDENT_H


#include "Teacher.h"

class Student {
public:
    Student();
    void sayHello();
    //声明，Teacher类的局部函数是我的友元
    friend void Teacher::visitPrivate(Student * student);
private:
    int age;
};


#endif //BASE_STUDENT_H
